package edu.java.lectures.lec05.cohesion;

public class BankAccount {

    private double ammount;

    public BankAccount() {
    }

    public BankAccount(double ammount) {
	this.ammount = ammount;
    }

    public void setAmmount(double ammount) {
	this.ammount = ammount;
    }

    public double getAmmount() {
	return ammount;
    }

    public void calculateInterest() {
	double interest = (20 / 100) * ammount; // 20% lihwa
	ammount += interest;
    }
}
